package com.zhuoyue.biz.core.api.domain.custom;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;
import lombok.Data;


/**
 * @author wjming
 * @ClassName: Geofencing
 * @Description: 地理栅栏数据库对象信息
 * @Date 2021-07-06 13:10
 */
@Data
public class GeofencingMessageDO extends BaseDoClass {
    /**
     * 网关ID
     */
    @TableField(value = "`gateway_id`")
    private String gatewayId;

    /**
     * 家庭ID
     */
    @TableField(value = "`home_id`")
    private String homeId;

    /**
     * 执行名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 场景ID
     */
    @TableField(value = "`scene_id`")
    private String sceneId;

    /**
     * 场景名称
     */
    @TableField(value = "`scene_name`")
    private String sceneName;
    /**
     * 场景图片
     */
    @TableField(value = "`scene_image`")
    private String sceneImage;

    /**
     * 离家距离
     */
    @TableField(value = "`distance`")
    private Double distance;

    /**
     * 使能判断
     */
    @TableField(value = "`enable`")
    private Boolean enable;

    /**
     * 周一到周日ListString
     * "[0]"
     * "[1,2,3,4,5,6,7]"
     */
    @TableField(value = "`time`")
    private String time;
    /**
     * 类型 0,圈内，1圈外
     */
    @TableField(value = "`type`")
    private String type;

}